package com.leolian.spring01.aop.aspectj.biz;

import org.springframework.stereotype.Component;

import com.leolian.spring01.aop.aspectj.MoocMethod;

@Component
public class MoocBiz {
	
	@MoocMethod("MoocBiz save with MoocMethod.")
	public String save(String arg){
		System.out.println("MoocBiz save "+arg);
		//throw new RuntimeException("Save Failed!");
		return "Save success.";
	}
	
	
	
}
